import Vue from 'vue'
import Router from 'vue-router'
import header from '@/components/header'
import index from '@/components/index'
import footer from '@/components/footer'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      // name: 'HelloWorld',
      components: {
      	header: header,
      	container: index,
        footer: footer,
      },

      // children: [
      // 	{
      // 		path: '',
      // 		component: hello
      // 	},
      // 	{
      // 		path: 'helloworld',
      // 		component: HelloWorld
      // 	}
      	
      // ]
    },

    // {
    // 	path: '/',
    // 	name: 'hello',
    // 	components: {
    //     top:hello
    //   }
    // }
  ]
})
